import request from '@/util/request.js';

/**
 * @description 获取轮播图
 * @param {Object} data
 */
export function getBannerListApi(data) {
	return request({
		url: '/banner/small/list',
		method: 'GET',
		data
	})
}
/**
 * @description 获取文章列表
 * @param {Object} data
 */
export function getArticleListApi(data) {
	return request({
		url: '/article/small/list',
		method: 'GET',
		data
	})
}

/**
 * @description 获取文章详情
 * @param {Object} data
 */
export function getArticleDetailApi(data) {
	return request({
		url: '/article/info',
		method: 'GET',
		data
	})
}

/**
 * @description 获取反映须知
 */
export function getInstructionsDetailApi() {
	return request({
		url: '/article/instructions',
		method: 'GET'
	})
}


/**
 * @description 获取轮播图列表
 * @param {Object} data
 */
export function getConfigByCode(data) {
	return request({
		url: '/civilConfig/getConfigByCode',
		method: 'GET',
		data
	})
}











/**
 * @description 获取巡察组列表
 * @param {Object} data
 */
export function getPatrolGroupListApi(data) {
	return request({
		url: '/patrolGroup/list',
		method: 'GET',
		data
	})
}